projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57ec4af
)
(sh-mode): When setting syntax
author
Karl Heuer
<kwzh@gnu.org>
Tue, 29 Jun 1999 17:06:17 +0000
(17:06 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Tue, 29 Jun 1999 17:06:17 +0000
(17:06 +0000)
table, default to the standard one.
lisp/progmodes/sh-script.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/sh-script.el
b/lisp/progmodes/sh-script.el
index 44d70931f66f6e7601b6df32e6a102b87be5f198..622e63512d0dfe5b3324732cab07a1fe4ab14765 100644
(file)
--- a/
lisp/progmodes/sh-script.el
+++ b/
lisp/progmodes/sh-script.el
@@
-783,7
+783,8
@@
with your script for an edit-interpret-debug cycle."
(progn
;; If we don't know the shell for this file, set the syntax
;; table anyway, for the user's normal choice of shell.
- (set-syntax-table (sh-feature sh-mode-syntax-table))
+ (set-syntax-table (or (sh-feature sh-mode-syntax-table)
+ (standard-syntax-table)))
;; And avoid indent-new-comment-line (at least) losing.
(setq comment-start-skip "#+[\t ]*"))))
(run-hooks 'sh-mode-hook))